<template>
  <div class="error">   </div>
  <el-button type="primary" @click="back">返回上一页</el-button>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()

const back = () => {
  router.go(-1)
}
</script>

<style scoped lang="scss">
.error {
    width: 100%;
    height: 100%;
    background: url(@/assets/images/error.png) no-repeat center center;
    background-size: 100%;

}

</style>